import API from "@/utils/request";

/**
 * 优惠劵
 * @param {Object} data 参数
 */

export const ADD_COUPON = data => {
  return API("sp/v1.Coupon/add_coupon", data);
};
export const DEL_COUPON = data => {
  return API("sp/v1.Coupon/del_coupon", data);
};
export const COUPON_LIST = data => {
  return API("sp/v1.Coupon/coupon_list", data);
};
export const GET_COUPON = data => {
  return API("sp/v1.Coupon/get_coupon", data);
};
export const ADD_STOCK = data => {
  return API("sp/v1.Coupon/add_stock", data);
};
